package com.spic.business.enumconst;

import com.spic.business.common.core.workflow.IWorkFlowType;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author mos
 * @version 1.0
 * @description: TODO
 * @date 2021/10/13 21:01
 */
@AllArgsConstructor
@Getter
public enum BusinessType implements IWorkFlowType {
    /*********** 两票  *******/
    FIRST_ELE("电气第一种工作票","FIRST_ELECTRIC","electric-one-ticket"),

    SECOND_ELE("电气第二种工作票","SECOND_ELECTRIC","electric-second-ticket"),

    FIRST_FIRE("一级动火工作票","FIRST_CLASS_FIRE_TICKET","first-class-fire-ticket"),

    SECOND_FIRE("二级动火工作票","SECOND_CLASS_FIRE_TICKET","second-class-fire-ticket"),

    THIRD_FIRE("三级动火工作票","THIRD_CLASS_FIRE_TICKET","third-class-fire-ticket"),

    EMERGENCY_REPAIR("紧急抢修单","EMERGENCY_REPAIR","emergency_repair"),

    MAINTENANCE("检修工作票","MAINTENANCE_TICKET","maintenance_ticket"),

    OPERATOR("操作票","OPERATOR_TICKET","operator_ticket"),

    /*********** 违章模块  *******/
    SPEED("超速","SPEED","spend"),
    VIOLATION("违章","violation",""),
    ACTION_INPUT("违章行为录入", "ACTION_INPUT","action_input" ),

    VIOLATION_INFORMATION("违章举报", "VIOLATION_INFORMATION","violation_information" ),

    /*********** 事故模块  *******/
    ACCIDENT_INSTANT_REPORT("事故即时报告","ACCIDENT_INSTANT_REPORT","accident_instant_report"),
    ANALYSIS_REPORT("事故分析报告","ANALYSIS_REPORT","analysis_report"),

    /*********** 公文督办 ********/
    DOC_SUPERVISION("公文督办","DOC_SUPERVISION","doc_supervision"),

    /*********** 隐患排查督办 ********/
    HIDDEN_SUPERVISION("隐患排查督办","HIDDEN_SUPERVISION","hidden_supervision"),

    /*********** 隐患模块  *******/
    HIDDEN_GOVERNANCE("隐患排查","HIDDEN_GOVERNANCE","hidden_governance"),

    /*********** 访客管理  *******/
    VISITOR_MANAGEMENT("访客来访审批", "VISITOR_MANAGEMENT", "visitor_management");

    /**
     * 用于代办展示名称
     */
    private String instanceName;

    private String businessType;
    /**
     * 流程图文件属性 流程key
     */
    private String key;
}
